package com.tarena.lbs.basic.web.mq.source;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author wen
 * @apiNote 消息推送MQ生产者
 * @since 2021/5/31
 */
public interface NoticeMessageOutputSource {

    String OUT_PUT = "notice-output";

    /**
     * 消息生产方法
     *
     * @return {@link MessageChannel}
     */
    @Output(OUT_PUT)
    MessageChannel output();

}
